package com.lonely.factory.factorymethod;

/**
 * @date: 2022-04-02 16:42
 * @author: ztkj-hzb
 * @description:
 **/
public class Main {


    public static void main(String[] args) {

        ComputerFactory computerFactory = new I3ComputerFactory();
        Computer i3Computer = computerFactory.createComputer();
        i3Computer.printModel();

        new I7ComputerFactory().createComputer().printModel();

    }


}
